package cn.edu.zpark.security.springmvc.init;

import org.springframework.security.web.context.AbstractSecurityWebApplicationInitializer;

/**
 * @PackageName: cn.edu.zpark.security.springmvc.init
 * @ClassName: SpringSecurityApplicationInitializer
 * @Description:
 * @author: RZS
 * @date: 2021/7/20  16:55
 */
public class SpringSecurityApplicationInitializer extends AbstractSecurityWebApplicationInitializer {

    /**
     * 若当前环境没有使用Spring或Spring MVC，
     * 则需要将 WebSecurityConfig(Spring Security配置类)
     * 传入超类，以确保获取配置，并创建spring context。
     */
    public SpringSecurityApplicationInitializer() {
        //super(WebSecurityConfig.class);
    }
}